std::exp
From Cppreference
| Defined in header
<cmath> | ||
| float exp( float arg );
| ||
| double exp( double arg );
| ||
| long double exp( long double arg );
| ||
Computes the e (Euler's number, 2.7182818) raised to the given power arg
Parameters
| arg | - | floating point value |
Return value
e raised to the power arg
If the result is too large for the underlying type, range error occurs and HUGE_VAL is returned.
See also
| natural logarithm (to base e) (function) | |
| returns the given number raised to the given power (function) | |